package com.maziro.spring.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class DoNothingAspect {
	@Pointcut("@annotation(com.maziro.spring.aspect.TimeLogPrint)")
	public void pointcut() {
	}

	@Before("pointcut()")
	public void before() {
		System.out.println("-----------aop------------");
	}
}
